package com.jrx.anytxn.transaction.dto.payment;

import com.jrx.anytxn.transaction.bean.PaymentLoanInfoBean;
import com.jrx.anytxn.transaction.dto.common.CommonReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;


@ApiModel(value = "逾期还款试算请求实体", description = "逾期还款试算请求实体")
public class DelinquencyTrialReq extends CommonReq {

    /**
     * 订单信息
     */
    @ApiModelProperty(value = "订单信息" ,required = true)
    @NotNull
    @Size(min=1)
    private List<PaymentLoanInfoBean> loanList;

    /**
     * 还款金额
     */
    @ApiModelProperty(value = "还款金额",required = false)
    private BigDecimal repayAmount;

    public List<PaymentLoanInfoBean> getLoanList() {
        return loanList;
    }

    public void setLoanList(List<PaymentLoanInfoBean> loanList) {
        this.loanList = loanList;
    }

    public BigDecimal getRepayAmount() {
        return repayAmount;
    }

    public void setRepayAmount(BigDecimal repayAmount) {
        this.repayAmount = repayAmount;
    }
}
